import React from 'react'
import { globalColor, pxPage, throttle, _defStyle, checkPhone, checkPassword, MygoBack, resetAction } from '../common/Common'
import {Button} from 'react-native-elements'
import FontAwesome from 'react-native-vector-icons/FontAwesome'

const LtftDesign = (props) => {
    return (<Button
        onPress={throttle(() => {
            props.props.navigation.goBack()
        }, 2000)}
        buttonStyle={{ backgroundColor: null }}
        icon={
            <FontAwesome name="long-arrow-left" size={pxPage(24)} color={globalColor.defaultBackgroundColor}></FontAwesome>
        }
    >
    </Button>
    )
}

export default LtftDesign